package com.ly.upload.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

@Data
@ConfigurationProperties(prefix = "upload")
public class UploadProperties {
    Map<String,FileConfig> config;

    @Data
    public static class FileConfig{
        private String diskpath;
        private String webpath;
        private String suffix;
    }
}


